package com.wrench.elevator.constant;

public interface Result
{
    
    String RESULT_CODE = "result_code";
    
    String RESULT_MESSAGE = "result_message";
    
    /**
     * 参数找不到
     */
    String PARAM_NOT_FOUND_CODE = "001";
    
    String PARAM_NOT_FOUND_MESSAGE = "param not found";
    
    /**
     * 字符串中间有空格
     */
    String STRING_HAS_BLANK_CODE = "002";
    
    String STRING_HAS_BLANK_MESSAGE = "string has blank";
    
    /**
     * 手机号格式不正确
     */
    String PHONE_NUMBER_IS_NOT_VAILD_CODE = "003";
    
    String PHONE_NUMBER_IS_NOT_VAILD_MESSAGE = "phone number is not vaild";
    
    /**
     * 数据库 insert报错
     */
    String DB_INSERT_ERROR_CODE = "004";
    
    String DB_INSERT_ERROR_MESSAGE = "db insert error";
    
    /**
     * 数据库 delete报错
     */
    String DB_DELETE_ERROR_CODE = "005";
    
    String DB_DELETE_ERROR_MESSAGE = "db delete error";
    
    /**
     * 数据库 update报错
     */
    String DB_UPDATE_ERROR_CODE = "006";
    
    String DB_UPDATE_ERROR_MESSAGE = "db update error";
    
    /**
     * 数据库 insert报错
     */
    String DB_SELECT_ERROR_CODE = "007";
    
    String DB_SELECT_ERROR_MESSAGE = "db select error";
    
    /**
     * 密码不是32位
     */
    String PASSWORD_IS_NOT_32_CODE = "008";
    
    String PASSWORD_IS_NOT_32_MESSAGE = "password is not 32";
    
    /**
     * 其他未知原因
     */
    String OTHER_ERROR_CODE = "999";
    
    String OTHER_ERROR_MESSAGE = "other error";
    
    /**
     * 成功
     */
    String SUCCESS_CODE = "200";
    
    String SUCCESS_MESSAGE = "success";
    
    /**
     * 用户密码错误
     */
    String USER_PASSWORD_ERROR_CODE = "009";
    
    String USER_PASSWORD_ERROR_MESSAGE = "user password error";
    
    /**
     * 对象空指针错误
     */
    String OBJECT_IS_NULL_CODE = "010";
    
    String OBJECT_IS_NULL_MESSAGE = "object is null";
    
    /**
     * 不是整数
     */
    String STRING_IS_NOT_INT_CODE = "011";
    
    String STRING_IS_NOT_INT_MESSAGE = "string is not int";
    
    /**
     * 没有文件上传
     */
    String FILE_NOT_UPLOAD_CODE = "012";
    
    String FILE_NOT_UPLOAD_MESSAGE = "flie is not upload";
    
    /**
     * 性别不正确
     * */
    String GENDER_IS_NOT_VAILD_CODE = "013";
    
    String GENDER_IS_NOT_VAILD_MESSAGE = "gender is not vavild";
    
    /**
     * setAddress失败
     * */
    String USER_SET_ADDRESS_FAIL_CODE = "014";
    
    String USER_SET_ADDRESS_FAIL_MESSAGE = "user set address fail";
    
    /**
     * 人脸身份不正确
     * */
    String FACE_IDENTITY_IS_NOT_VAILD_CODE = "015";
    
    String FACE_IDENTITY_IS_NOT_VAILD_MESSAGE = "face identity is not vaild";
    
    /**
     * face addFace失败
     * */
    String FACE_ADD_FACE_FAIL_CODE = "016";
    
    String FACE_ADD_FACE_FAIL_MESSAGE = "face add face fail";
    
    /**
     * user reg bytelphone 失败
     * */
    String USER_REG_BY_TELPHONE_FAIL_CODE = "017";
    
    String USER_REG_BY_TELPHONE_FAIL_MESSAGE = "user reg by telphone fail";
    
    /**
     * user reg bywxid 失败
     * */
    String USER_REG_BY_WXID_FAIL_CODE = "018";
    
    String USER_REG_BY_WXID_FAIL_MESSAGE = "user reg by wx_id fail";
    
    /**
     * 登录类型有误
     * */
    String USER_LOGIN_TYPE_IS_NOT_VAILD_CODE = "019";
    
    String USER_LOGIN_TYPE_IS_NOT_VAILD_MESSAGE = "user login type is not vaild";
    
    /**
     * 该用户没有注册
     * */
    String USER_HAS_NOT_REG_CODE = "020";
    
    String USER_HAS_NOT_REG_MESSAGE = "user has not reg";
    
    /**
     * 注册类型有误
     * */
    String USER_REG_TYPE_IS_NOT_VAILD_CODE = "021";
    
    String USER_REG_TYPE_IS_NOT_VAILD_MESSAGE = "user reg type is not vaild";
    
    /**
     * 添加钱包失败
     * */
    String WALLET_ADD_WALLET_FAIL_CODE = "022";
    
    String WALLET_ADD_WALLET_FAIL_MESSAGE = "wallet add wallet fail";
    
    /**
     * 字符串不是金额
     * */
    String STRING_IS_NOT_MONEY_CODE = "023";
    
    String STRING_IS_NOT_MONEY_MESSAGE = "string is not money";
    
    /**
     * 充值失敗
     * */
    String WALLET_RECHARGE_FAIL_CODE = "024";
    
    String WALLET_RECHARGE_FAIL_MESSAGE = "wallet recharge fail";
    
    /**
     * 消费失败
     * */
    String WALLET_CONSUME_FAIL_CODE = "025";
    
    String WALLET_CONSUME_FAIL_MESSAGE = "wallet consume fail";
    
    /**
     * address setAddress失败
     * */
    String ADDRESS_SET_ADDRESS_FAIL_CODE = "026";
    
    String ADDRESS_SET_ADDRESS_FAIL_MESSAGE = "address set address fail";
    
    /**
     * address address_status 不正确
     * */
    String ADDRESS_ADDRESS_STATUS_IS_NOT_VAILD_CODE = "027";
    
    String ADDRESS_ADDRESS_STATUS_IS_NOT_VAILD_MESSAGE = "address address status is not vaild";
    
    /**
     * address set address_status 失败
     * */
    String ADDRESS_SET_OLD_ADDRESS_STATUS_FAIL_CODE = "028";
    
    String ADDRESS_SET_OLD_ADDRESS_STATUS_FAIL_MESSAGE = "address set address status fail";
    
    /**
     * 流水类型未知，无法校验
     * */
    String FLOW_TYPE_IS_NOT_VAILD_CODE = "029";
    
    String FLOW_TYPE_IS_NOT_VAILD_MESSAGE = "flow type is not vaild";
    
    /**
     * 流水头与流水类型不符
     * */
    String FLOW_NO_HEAD_IS_NOT_EQUALS_FLOW_TYPE_CODE = "030";
    
    String FLOW_NO_HEAD_IS_NOT_EQUALS_FLOW_TYPE_MESSAGE = "flow_no_head is not equals flow_type";
    
    /**
     * 时间格式不正确
     * */
    String TIME_IS_NOT_VAILD_CODE = "031";
    
    String TIME_IS_NOT_VAILD_MESSAGE = "time is not vaild";
    
    /**
     * 添加消费记录失败
     * */
    String CONSUME_ADD_CONSUME_FAIL_CODE = "032";
    
    String CONSUME_ADD_CONSUME_FAIL_MESSAGE = "consume add consume fail";
    
    /**
     * 判断消费类型
     * */
    String CONSUME_TYPE_IS_NOT_VAILD_CODE = "033";
    
    String CONSUME_TYPE_IS_NOT_VAILD_MESSAGE = "consume type is not vaild";
    
    /**
     * face_id不存在
     * */
    String FACE_ID_IS_NOT_EXIST_CODE = "034";
    
    String FACE_ID_IS_NOT_EXIST_MESSAGE = "face id is not exist";
    
    /**
     * 插入充值记录失败
     * */
    String RECHARGE_ADD_RECHARGE_FAIL_CODE = "035";
    
    String RECHARGE_ADD_RECHARGE_FAIL_MESSAGE = "recharge add recharge fail";
    
    /**
     * person身份不正确
     * */
    String PERSON_IDENTITY_IS_NOT_VAILD_CODE = "036";
    
    String PERSON_IDENTITY_IS_NOT_VAILD_MESSAGE = "person identity is not vaild";
    
    /**
     * 设置group id 失败
     * */
    String BUILDING_SET_GROUP_ID_FAIL_CODE = "037";
    
    String BUILDING_SET_GROUP_ID_FAIL_MESSAGE = "building set group id fail";
    
    /**
     * 在person表中 person_id找不到
     * */
    String PERSON_NOT_FOUND_PERSON_ID_CODE = "038";
    
    String PERSON_NOT_FOUND_PERSON_ID_MESSAGE = "person not found person id";
    
    /**
     * 添加building 失败
     * */
    String BUILDING_ADD_BUILDING_FAIL_CODE = "039";
    
    String BUILDING_ADD_BUILDING_FAIL_MESSAGE = "building add building fail";
    
}
